We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e7c397 commit acdbd73Copy full SHA for acdbd73
CHANGELOG.md
@@ -2,6 +2,9 @@
2
3
All Notable changes to `laravel-permission` will be documented in this file
4
5
+## 1.6.1 - 2016-01-19
6
+- make exception logging more verbose
7
+
8
## 1.6.0 - 2016-12-27
9
- added `Role` scope
10
src/PermissionRegistrar.php
@@ -50,9 +50,10 @@ public function registerPermissions()
50
});
51
52
return true;
53
- } catch (Exception $e) {
54
- Log::alert('Could not register permissions');
55
- Log::alert(get_class($e).': '.$e->getMessage());
+ } catch (Exception $exception) {
+ Log::alert(
+ "Could not register permissions because {$exception->getMessage()}" . PHP_EOL
56
+ . $exception->getTraceAsString());
57
58
return false;
59
}
0 commit comments