changeset 2007:408f7dd7e503 default tip

minor
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 28 Jul 2025 23:47:43 -0600
parents b10031b477a4
children
files src/luan/modules/url/LuanUrl.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/luan/modules/url/LuanUrl.java	Mon Jul 28 21:53:59 2025 -0600
+++ b/src/luan/modules/url/LuanUrl.java	Mon Jul 28 23:47:43 2025 -0600
@@ -109,7 +109,7 @@
 				} else if( content instanceof byte[] ) {
 					this.content = (byte[])content;
 				} else
-					throw new LuanException( "content must be String or byte[]" );
+					throw new LuanException( "content must be String or byte[] but is "+content.getClass().getName() );
 			}
 			if( enctype != null ) {
 				if( !enctype.equals("multipart/form-data") )