Start of processing packets - implemented PING Responce to Netmail

This commit is contained in:
Deon George
2021-07-16 00:54:23 +10:00
parent fe2784f98f
commit a0d3c8d8ab
22 changed files with 1256 additions and 442 deletions

View File

@@ -51,10 +51,10 @@ class HomeController extends Controller
foreach ($filegroup as $file) {
try {
$pkt = new Packet($file);
$pkt = Packet::open($file);
} catch (\Exception $e) {
return redirect()->back()->withErrors($e->getMessage());
return redirect()->back()->withErrors(sprintf('%s (%s:%d)',$e->getMessage(),$e->getFile(),$e->getLine()));
}
break;