Inject parameters into coredevice exception message when mapping.

This commit is contained in:
whitequark 2016-01-10 18:06:28 +00:00
parent ee1ef551bc
commit b669e83554
1 changed files with 1 additions and 1 deletions

View File

@ -512,7 +512,7 @@ class CommGeneric:
assert exception.id != 0
python_exn_type = object_map.retrieve(exception.id)
python_exn = python_exn_type(message)
python_exn = python_exn_type(message.format(*params))
python_exn.artiq_exception = exception
raise python_exn