Page 1 of 1

Serverlet error handling

Posted: Thu Aug 22, 2013 11:57 am
by 1001001
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
$(if error)
			<div class="alert alert-error">
			<button type="button" class="close" data-dismiss="alert">&times;</button>
			<strong>Oops!</strong> $(error)
			</div>
		  $(elif error-orig)
			<div class="alert alert-error">
			<button type="button" class="close" data-dismiss="alert">&times;</button>
			<strong>Oops!</strong> $(error-orig)
			</div>
		  $(endif)
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