forked from Alex/Pterodactyl-Panel
Fix missing log class on API calls with errors.
This commit is contained in:
parent
0bb0d5df45
commit
f0fca2a681
@ -10,6 +10,7 @@ This project follows [Semantic Versioning](http://semver.org) guidelines.
|
||||
* API now returns a useful error displaying what went wrong rather than an obscure 'An Error was Encountered' message when API issues arise.
|
||||
* Fixes bug preventing the creation of new files in the file manager due to a missing JS dependency on page load.
|
||||
* Prevent using a service option tag that contains special chaacters that are not valid. Now only allows alpha-numeric, no spaces or underscores.
|
||||
* Fix unhandled excpetion due to missing `Log` class when using the API and causing an error.
|
||||
|
||||
### Changed
|
||||
* Renamed session cookies from `laravel_session` to `pterodactyl_session`.
|
||||
|
@ -24,6 +24,7 @@
|
||||
|
||||
namespace Pterodactyl\Http\Controllers\API\Admin;
|
||||
|
||||
use Log;
|
||||
use Fractal;
|
||||
use Illuminate\Http\Request;
|
||||
use Pterodactyl\Models\Node;
|
||||
|
@ -24,6 +24,7 @@
|
||||
|
||||
namespace Pterodactyl\Http\Controllers\API\Admin;
|
||||
|
||||
use Log;
|
||||
use Fractal;
|
||||
use Illuminate\Http\Request;
|
||||
use Pterodactyl\Models\Server;
|
||||
|
@ -24,6 +24,7 @@
|
||||
|
||||
namespace Pterodactyl\Http\Controllers\API\Admin;
|
||||
|
||||
use Log;
|
||||
use Fractal;
|
||||
use Illuminate\Http\Request;
|
||||
use Pterodactyl\Models\User;
|
||||
|
Loading…
Reference in New Issue
Block a user