fixes issue #188 : displays a nice error message instead of blocking the app