Skip to content

Commit b46595c

Browse files
author
d.kovalenko
committed
BugCheckError::UnknownOptionValueType is corrected
[FIX] typeOfOptionValue.__name__ is used.
1 parent 0b998ea commit b46595c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/bugcheck_error.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ def UnknownOptionValueType(optionName: str, typeOfOptionValue: type):
210210
assert type(typeOfOptionValue) == type
211211

212212
errMsg = "[BUG CHECK] Unknown value type [{1}] of option [{0}].".format(
213-
optionName, typeOfOptionValue
213+
optionName, typeOfOptionValue.__name__
214214
)
215215

216216
raise Exception(errMsg)

0 commit comments

Comments
 (0)