comparison src/goodjava/webserver/Connection.java @ 1752:b4fa42c1e999

minor
author Franklin Schmidt <fschmidt@gmail.com>
date Wed, 25 Jan 2023 12:22:09 -0700
parents c7b3c327248a
children 6c01d54edcac
comparison
equal deleted inserted replaced
1751:357daf580951 1752:b4fa42c1e999
134 socket.close(); 134 socket.close();
135 } catch(IOException e) { 135 } catch(IOException e) {
136 logger.info(rawHead.trim()+"\n",e); 136 logger.info(rawHead.trim()+"\n",e);
137 } catch(WrappedRuntimeException wrapped) { 137 } catch(WrappedRuntimeException wrapped) {
138 RuntimeException e = (RuntimeException)wrapped.getCause(); 138 RuntimeException e = (RuntimeException)wrapped.getCause();
139 logger.info(rawHead.trim()+"\n",e); 139 logger.warn(rawHead.trim()+"\n",e);
140 throw e; 140 throw e;
141 } catch(RuntimeException e) { 141 } catch(RuntimeException e) {
142 logger.error(rawHead.trim()+"\n",e); 142 logger.error(rawHead.trim()+"\n",e);
143 throw e; 143 throw e;
144 } 144 }