Skip to content

Commit

Permalink
use log_error, not log_info
Browse files Browse the repository at this point in the history
  • Loading branch information
DeniseWorthen committed Jul 27, 2023
1 parent 7b7d232 commit 4e09c3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mediator/med_io_mod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ module med_io_mod
character(*),parameter :: prefix = "med_io_"
character(*),parameter :: modName = "(med_io_mod) "
character(*),parameter :: version = "cmeps0"

integer :: pio_iotype
integer :: pio_ioformat
type(iosystem_desc_t), pointer :: io_subsystem
Expand Down Expand Up @@ -1739,7 +1739,7 @@ subroutine med_io_read_init_iodesc(FB, name1, pioid, iodesc, rc)
deallocate(minIndexPTile, maxIndexPTile)
else
if(maintask) write(logunit,*) trim(subname),' ERROR: '//trim(name1)//' is not present, aborting '
call ESMF_LogWrite(trim(subname)//' ERROR: '//trim(name1)//' is not present, aborting ', ESMF_LOGMSG_INFO)
call ESMF_LogWrite(trim(subname)//' ERROR: '//trim(name1)//' is not present, aborting ', ESMF_LOGMSG_ERROR)
rc = ESMF_FAILURE
end if ! end if rcode check

Expand Down

0 comments on commit 4e09c3a

Please sign in to comment.