Skip to content

Commit

Permalink
Improving error message on failed instantiation in LionWebModelConverter
Browse files Browse the repository at this point in the history
  • Loading branch information
ftomassetti committed Feb 4, 2025
1 parent 1166911 commit 8c605d2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -740,7 +740,7 @@ class LionWebModelConverter(
constructor.callBy(params) as T
} catch (e: Exception) {
throw RuntimeException(
"Issue instantiating using constructor $constructor with params " +
"Issue instantiating using constructor ${kClass.qualifiedName}.$constructor with params " +
"${params.map { "${it.key.name}=${it.value}" }}",
e
)
Expand Down

0 comments on commit 8c605d2

Please sign in to comment.