diff --git a/app/Http/Controllers/Module/DeviceController.php b/app/Http/Controllers/Module/DeviceController.php index e52944e..cc7fcb2 100644 --- a/app/Http/Controllers/Module/DeviceController.php +++ b/app/Http/Controllers/Module/DeviceController.php @@ -43,7 +43,7 @@ public function destroy(Request $request, $client_id = null): JsonResponse if ($client_id) { try { $client = $emqx->client($client_id); - } catch (EmqxSupportException $e) { + } catch (EmqxSupportException) { return $this->failed('client not found'); }