Show nice error when global-action fails using die + scalar

Conflicts:

	main/core/ChangeLog
Merge pull request #947 from Zentyal/ejhernandez/better-error-handling-global-action

Show nice error when global-action fails using die + scalar