return an array with error and error_msg for logout
Merge pull request #89 from trecouvr/fix-logout-poss2

Fix POSS2WithException logout