Index: /issm/trunk/test/NightlyRun/runme.m
===================================================================
--- /issm/trunk/test/NightlyRun/runme.m	(revision 5103)
+++ /issm/trunk/test/NightlyRun/runme.m	(revision 5104)
@@ -143,5 +143,5 @@
 					%something went wrong, print failure message:
 					directory=strsplit(pwd,'/');
-					message=getReport(me2)
+					message=getReport(me2);
 					if strcmpi(output,'nightly')
 						fid=fopen([ISSM_DIR '/nightlylog/matlaberror.log'], 'at');
@@ -149,5 +149,5 @@
 						fprintf(fid,'\n------------------------------------------------------------------\n');
 						fclose(fid);
-						disp(sprintf(['FAILURE difference: N/A test id: %i test name: %s field: %s'],id,IdToName(id),'N/A'));
+						disp(sprintf(['FAILURE difference: N/A test id: %i test name: %s field: %s'],id,IdToName(id),fieldname));
 					elseif strcmpi(output,'daily');
 						fid=fopen([ISSM_DIR '/dailylog/matlaberror.log'], 'at');
@@ -155,5 +155,7 @@
 						fprintf(fid,'\n------------------------------------------------------------------\n');
 						fclose(fid);
-						disp(sprintf(['FAILURE difference: N/A test id: %i test name: %s field: %s'],id,IdToName(id),'N/A'));
+						disp(sprintf(['FAILURE difference: N/A test id: %i test name: %s field: %s'],id,IdToName(id),fieldname));
+					else
+						rethrow(me2);
 					end
 				end
@@ -165,5 +167,5 @@
 		%something went wrong, print failure message:
 		directory=strsplit(pwd,'/');
-		message=getReport(me)
+		message=getReport(me);
 		if strcmpi(output,'nightly')
 			fid=fopen([ISSM_DIR '/nightlylog/matlaberror.log'], 'at');
@@ -171,5 +173,5 @@
 			fprintf(fid,'\n------------------------------------------------------------------\n');
 			fclose(fid);
-			disp(sprintf(['FAILURE difference: N/A test id: %i test name: %s field: %s'],id,IdToName(id),fieldname));
+			disp(sprintf(['FAILURE difference: N/A test id: %i test name: %s field: %s'],id,IdToName(id),'N/A'));
 		elseif strcmpi(output,'daily');
 			fid=fopen([ISSM_DIR '/dailylog/matlaberror.log'], 'at');
@@ -177,5 +179,7 @@
 			fprintf(fid,'\n------------------------------------------------------------------\n');
 			fclose(fid);
-			disp(sprintf(['FAILURE difference: N/A test id: %i test name: %s field: %s'],id,IdToName(id),fieldname));
+			disp(sprintf(['FAILURE difference: N/A test id: %i test name: %s field: %s'],id,IdToName(id),'N/A'));
+		else
+			rethrow(me);
 		end
 	end
