Fixed being able to catch amazons3 exception in global namespace