The front end messages could be suppressed by changing the settings in Preferences -> Messages or programmatically, for example
CurrentValue[$FrontEnd, {MessageOptions, "ErrorAction"}] = {}
will do nothing, instead of the default "beep and put up dialog box".