Index: /issm/trunk-jpl/test/NightlyRun/runme.py
===================================================================
--- /issm/trunk-jpl/test/NightlyRun/runme.py	(revision 20410)
+++ /issm/trunk-jpl/test/NightlyRun/runme.py	(revision 20411)
@@ -1,3 +1,3 @@
-#! /usr/bin/env python
+#!/usr/bin/env python
 import os
 import glob
@@ -6,4 +6,5 @@
 import netCDF4
 import sys
+import traceback
 
 def runme(id=None,exclude=None,benchmark='nightly',procedure='check',output='none',rank=1,numprocs=1):
@@ -63,5 +64,5 @@
 	# }}}
 	#GET output {{{
-	if not ismember(output,['nightly','daily','none']):
+	if not ismember(output,['nightly','none']):
 		print "runme warning: output '%s' not supported, defaulting to test 'none'." % output
 		output='none'
@@ -199,9 +200,9 @@
 								(error_diff,tolerance,id,id_string,fieldname)
 
-					except Exception as me2:
+					except Exception as message:
 
 						#something went wrong, print failure message:
+						print traceback.format_exc()
 						directory=os.getcwd().split('/')    #  not used?
-						message=me2
 						if   strcmpi(output,'nightly'):
 							fid=open(os.path.join(ISSM_DIR,'nightlylog','pythonerror.log'), 'a')
@@ -210,10 +211,4 @@
 							fid.close()
 							print 'FAILURE difference: N/A test id: %i test name: %s field: %s' % (id,id_string,fieldname)
-						elif strcmpi(output,'daily'):
-							fid=open(os.path.join(ISSM_DIR,'dailylog','pythonerror.log'), 'a')
-							fid.write('%s' % message)
-							fid.write('\n------------------------------------------------------------------\n')
-							fid.close()
-							print 'FAILURE difference: N/A test id: %i test name: %s field: %s' % (id,id_string,fieldname)
 						else:
 							print 'FAILURE difference: N/A test id: %i test name: %s field: %s' % (id,id_string,fieldname)
@@ -222,17 +217,11 @@
 				f.close()
 
-		except Exception as me:
+		except Exception as message:
 
 			#something went wrong, print failure message:
+			print traceback.format_exc()
 			directory=os.getcwd().split('/')    #  not used?
-			message=me
 			if   strcmpi(output,'nightly'):
 				fid=open(os.path.join(ISSM_DIR,'nightlylog','pythonerror.log'), 'a')
-				fid.write('%s' % message)
-				fid.write('\n------------------------------------------------------------------\n')
-				fid.close()
-				print 'FAILURE difference: N/A test id: %i test name: %s field: %s' % (id,id_string,'N/A')
-			elif strcmpi(output,'daily'):
-				fid=open(os.path.join(ISSM_DIR,'dailylog','pythonerror.log'), 'a')
 				fid.write('%s' % message)
 				fid.write('\n------------------------------------------------------------------\n')
