Merge pull request #1 from snadarat/NameRefactoring

If connection refused to NB API, log if debug logging is enabled
Remove inner try/catch