BF: catch and report exceptions while executing commands in client interactive mode (Close #353)