Skip to content

Commit 0aa692b

Browse files
Simon Frostfabpot
authored andcommitted
Add the name of the env to RuntimeException
1 parent efe9cf5 commit 0aa692b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

EnvVarProcessor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,6 @@ public function getEnv(string $prefix, string $name, \Closure $getEnv)
290290
return trim($env);
291291
}
292292

293-
throw new RuntimeException(sprintf('Unsupported env var prefix "%s".', $prefix));
293+
throw new RuntimeException(sprintf('Unsupported env var prefix "%s" for env name "%s".', $prefix, $name));
294294
}
295295
}

0 commit comments

Comments
 (0)