Browse Source

services: Make error message less scary.

* gnu/services.scm (service-back-edges): Show the type name of SERVICE
instead of SERVICE in error message.
python-updates
Ludovic Courtès 5 years ago
parent
commit
638e9deaf8
No known key found for this signature in database GPG Key ID: 90B11993D9AEBB5
  1. 5
      gnu/services.scm

5
gnu/services.scm

@ -624,9 +624,10 @@ kernel."
(target-type target-type))
(&message
(message
(format #f (G_ "no target of type '~a' for service ~s")
(format #f (G_ "no target of type '~a' for service '~a'")
(service-type-name target-type)
service))))))
(service-type-name
(service-kind service))))))))
(x
(raise
(condition (&ambiguous-target-service-error

Loading…
Cancel
Save