We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 617fcd4c authored by Jørgen Bøhnsdalen's avatar Jørgen Bøhnsdalen

More verbose error message

parent 4fb6da07
......@@ -142,6 +142,7 @@ if(isset($_POST['register'])) {
catch (exception $e) {
reportError('AccountActivation, insert, register.php', $e->getMessage());
$errors .= 'An error occurred.';
$errors .) "\n" . $e->getMessage();
$smarty->assign('errors', $errors);
$smarty->display('error.tpl');
die();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment