Skip to content

Commit

Permalink
Update AccountService.php
Browse files Browse the repository at this point in the history
Thanks Wirone for finding this out
  • Loading branch information
Setitch committed Jul 25, 2018
1 parent 2bc5ff4 commit ea67520
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Account/AccountService.php
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ public function createGroup($name)
$ret = $this->exec($this->uri, $json, 'POST');
} catch (\Exception $e) {
if (stripos($e->getMessage(), 'A group or user with this name already exists.') !== 0) {
die('a');
throw $e;
} else {
throw $e;
}
Expand Down

0 comments on commit ea67520

Please sign in to comment.