Better email server errors
This commit is contained in:
@@ -287,7 +287,8 @@ namespace MistoxWebsite.Server.Controllers {
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
return "Account Not Found";
|
return "Account Not Found";
|
||||||
} catch (Exception) {
|
} catch (Exception e) {
|
||||||
|
Console.WriteLine( "EmailService Error: " + e.ToString());
|
||||||
return "The connection couldn't be established to the email server";
|
return "The connection couldn't be established to the email server";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user