Serverlet error handling
Posted: Thu Aug 22, 2013 11:57 am
Hello everybody,
we're getting constant complaint about the fact that if a user tries to login providing invalid credentials the serverlets allways just display the error 'Radius server is not responding'. Well I checked both our radiusserver appenrently do not send any answer to an invalid access-request so the routerOS just assumes that the radius server timedout and displays that particular error-message.
Is there a away to get more precise error-messages or conditional error handling?
I tried this approach which obviously doesn't do any good
Is there a way to do this that would tell the user that e.g. the internet connection is down oder his inout was somehow wrong?
Best Regards
1001001
we're getting constant complaint about the fact that if a user tries to login providing invalid credentials the serverlets allways just display the error 'Radius server is not responding'. Well I checked both our radiusserver appenrently do not send any answer to an invalid access-request so the routerOS just assumes that the radius server timedout and displays that particular error-message.
Is there a away to get more precise error-messages or conditional error handling?
I tried this approach which obviously doesn't do any good
Code: Select all
$(if error)
<div class="alert alert-error">
<button type="button" class="close" data-dismiss="alert">×</button>
<strong>Oops!</strong> $(error)
</div>
$(elif error-orig)
<div class="alert alert-error">
<button type="button" class="close" data-dismiss="alert">×</button>
<strong>Oops!</strong> $(error-orig)
</div>
$(endif)
Best Regards
1001001