Skip to content
This repository has been archived by the owner on Feb 17, 2020. It is now read-only.

Commit

Permalink
- Fixed exception throwing
Browse files Browse the repository at this point in the history
  • Loading branch information
akadlec committed Jun 29, 2015
1 parent a9e708d commit 332716c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/IPub/Twitter/UI/LoginDialog.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public function open()
$this->presenter->redirectUrl($this->getUrl());

} else {
throw new OAuth\Exceptions\RequestFailedException('User could not be authenticated.', 'twitter');
throw new OAuth\Exceptions\RequestFailedException(sprintf('User could not be authenticated to "%s".', 'twitter'));
}
}

Expand Down

0 comments on commit 332716c

Please sign in to comment.