[FEATURE] Improve exception message if Ajax went wrong

The change-set prevent the UI to freeze in case
the Ajax requests went wrong. Previously, a basic
javascript alert was raised up.

Change-Id: I75cbdc8a057cccee43756f580df79eb090923926
Releases: 0.3.0
Resolves: #57643