Fixed ip issue for better errors
Merge pull request #97 from akosednar/bug/fix_better_errors

Fixed ip issue for better errors - WIP #266