Improved error handling via alertSrv service