Mercurial Hosting > luan
comparison core/src/luan/modules/PickleServer.java @ 531:f99c79b0b426
change LuanException.getFullMessage() to not require LuanState
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Wed, 27 May 2015 22:01:40 -0600 |
parents | 8dcf9e12446b |
children | 6cc2f047019b |
comparison
equal
deleted
inserted
replaced
530:7366101be4c4 | 531:f99c79b0b426 |
---|---|
44 } catch(LuanException e) { | 44 } catch(LuanException e) { |
45 // System.out.println(e); | 45 // System.out.println(e); |
46 //e.printStackTrace(); | 46 //e.printStackTrace(); |
47 StringBuilder sb = new StringBuilder(); | 47 StringBuilder sb = new StringBuilder(); |
48 sb.append( "return false, " ); | 48 sb.append( "return false, " ); |
49 sb.append( con.pickle(e.getFullMessage(con.luan)) ); | 49 sb.append( con.pickle(e.getFullMessage()) ); |
50 sb.append( ", " ); | 50 sb.append( ", " ); |
51 sb.append( con.pickle(con.src) ); | 51 sb.append( con.pickle(con.src) ); |
52 sb.append( '\n' ); | 52 sb.append( '\n' ); |
53 con.write( sb.toString() ); | 53 con.write( sb.toString() ); |
54 } | 54 } |