Actions
Feature #8649
closedMake ENV.fetch KeyError give key name in error message.
Status:
Closed
Assignee:
-
Target version:
-
Description
The KeyError raised by ENV.fetch('test') when the 'test' key does not exist does not give the name of the key in the error message.
This patch makes it give a better error message and behave like Hash.fetch.
Files
Actions
Like0
Like0