changeset 1409:9103a61e64bc

minor
author Franklin Schmidt <fschmidt@gmail.com>
date Wed, 25 Sep 2019 08:09:05 -0600
parents 5b8f76e26ab7
children dc625408def8
files src/luan/modules/parsers/LuanToString.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/luan/modules/parsers/LuanToString.java	Tue Sep 24 15:02:33 2019 -0600
+++ b/src/luan/modules/parsers/LuanToString.java	Wed Sep 25 08:09:05 2019 -0600
@@ -42,7 +42,7 @@
 			return;
 		}
 		if( strict )
-			throw new LuanException("can't handle type "+obj.getClass().getName());
+			throw new LuanException("can't handle type "+Luan.type(obj));
 		sb.append( '<' );
 		sb.append( obj );
 		sb.append( '>' );