Skip to content

Commit 74a22fb

Browse files
committed
Improved error message to include file number
1 parent 56e7d9c commit 74a22fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/histFileMod.F90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5012,7 +5012,7 @@ subroutine hist_restart_ncd (bounds, ncid, flag, rdate)
50125012
tape(t)%hlist(fld,f)%nacs(beg1d_out:end1d_out,num2d), &
50135013
stat=status)
50145014
if (status /= 0) then
5015-
write(iulog,*) trim(subname),' ERROR: allocation error for hbuf,nacs at t,f=',t,f
5015+
write(iulog,*) trim(subname),' ERROR: allocation error for hbuf,nacs at t,f,fld=',t,f,fld
50165016
call endrun(msg=errMsg(sourcefile, __LINE__))
50175017
endif
50185018
tape(t)%hlist(fld,f)%hbuf(:,:) = 0._r8

0 commit comments

Comments
 (0)