Refactor
Refacto + Printing fix
Do not print final result if quitting for an Error exception