Close #1
Merge pull request #2 from akeeba/feature/1-handle-exceptions

Close #1