From f04a89ebc2c11d0c3617fe4557cda66c6e7c376d Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Mon, 20 Feb 2017 10:51:18 +0200 Subject: [PATCH] Add check-data result in email subject --- app/Console/Commands/CheckData.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Console/Commands/CheckData.php b/app/Console/Commands/CheckData.php index 4c724dd8fafd..db8a85266ad5 100644 --- a/app/Console/Commands/CheckData.php +++ b/app/Console/Commands/CheckData.php @@ -81,7 +81,7 @@ class CheckData extends Command Mail::raw($this->log, function ($message) use ($errorEmail) { $message->to($errorEmail) ->from(CONTACT_EMAIL) - ->subject('Check-Data'); + ->subject('Check-Data: ' . strtoupper($this->isValid ? RESULT_SUCCESS : RESULT_FAILURE)); }); } }