Was added possibility to do the logs using try-catch error message