Fixed exceptions thrown from the user's callback being silently swallowed