Prevent error when seeing an exception thrown by Rails.
Ensure exceptions are caught and that tags keep being correctly set
Ensure tags don't contain an empty value when no exception
Merge pull request #5 from m-barthelemy/master

Prevent error when seeing an exception thrown by Rails.