exception output to gui