Error not well catched with Ext2F
When using Ext2F, if the send command fails, we have an error rendering the template:
[debug] Launching "Send" external 2F command -> curl -s -G --data-urlencode "from=+412345678" --data-urlencode "username=user" --data-urlencode "'password=password" --data-urlencode "to=$mobile" --data-urlencode "$code" http://sms.example.com/sms
[error] External send command failed (code 1536)
[debug] Processing code ref
[debug] Returned error: 24
[debug] Skin returned: error
[debug] Calling sendHtml with template error
[debug] Skin bootstrap selected from GET/POST parameter
[debug] Starting HTML generation using /usr/share/lemonldap-ng/portal/templates/bootstrap/error.tpl
[debug] Skin bootstrap selected from GET/POST parameter
[debug] Sending /usr/share/lemonldap-ng/portal/templates/bootstrap/error.tpl
[debug] Apply following CSP : default-src 'self';img-src 'self' data:;style-src 'self';font-src 'self';connect-src 'self';script-src 'self';form-action 'self' *.openid.club *.facebook.com *.twitter.com *.renater.com;frame-ancestors 'none';
[debug] Returned error: ARRAY(0x55c1885d7380)
We should never have an ARRAY in return code.