Improve error message for unsuccessful key lookups (#6148)

changelog_begin
[Runtime] Improved error messages on unsuccessful key lookups
changelog_end
This commit is contained in:
Stefano Baghino 2020-05-29 11:57:13 +02:00 committed by GitHub
parent 3cce4b7098
commit 070e39d4df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -329,7 +329,7 @@ final class Engine {
if (cb(SKeyLookupResult(result)))
interpretLoop(machine, time)
else
ResultError(Error(s"dependency error: couldn't find key $gk"))
ResultError(Error(s"dependency error: couldn't find key ${gk.key}"))
)
)