We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6f3a606 + fec0898 commit 02dd6ffCopy full SHA for 02dd6ff
ProcessMaker/Models/EnvironmentVariable.php
@@ -60,9 +60,10 @@ public function getValueAttribute()
60
} catch (Exception $e) {
61
Log::error(
62
'Can not decrypt environment variable: ' .
63
- $this->attributes['name'] .
+ ($this->attributes['name'] ?? 'unknown') .
64
"\n" . $e->getMessage() .
65
- "\n" . $e->getTraceAsString()
+ "\n" . $e->getTraceAsString(),
66
+ ['attributes' => $this->attributes]
67
);
68
69
return null;
0 commit comments