Only throw AL exceptions in debug mode.