Permalink
Browse files

Also output URL for errors

  • Loading branch information...
1 parent e51d86b commit 686b38203c4154458528d5e34c1b3737b7b83b23 @haugstrup committed Jun 21, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 scrumio.classes.php
View
@@ -259,7 +259,7 @@ public function __construct($sprint) {
}
}
catch (PodioError $e) {
- die("There was an error. The API responded with the error type <b>{$e->body['error']}</b> and the message <b>{$e->body['error_description']}</b><br><a href='".url_for('logout')."'>Log out</a>");
+ die("There was an error. The API responded with the error type <b>{$e->body['error']}</b> and the message <b>{$e->body['error_description']}</b>. The URL was <b>{$e->url}</b><br><a href='".url_for('logout')."'>Log out</a>");
}
}

0 comments on commit 686b382

Please sign in to comment.