Will alert and log when catch error