diff --git a/src/IO.f90 b/src/IO.f90 index 3d80feefa..ad6dcac23 100644 --- a/src/IO.f90 +++ b/src/IO.f90 @@ -1587,7 +1587,7 @@ subroutine IO_error(error_ID,el,ip,g,instance,ext_msg) case (601_pInt) msg = 'Ping-Pong needed when using non-local plasticity' case (602_pInt) - msg = 'invalid element/IP/component (grain) selected for debug' + msg = 'invalid selection for debug' !------------------------------------------------------------------------------------------------- ! DAMASK_marc errors diff --git a/src/homogenization.f90 b/src/homogenization.f90 index c8c5fad01..93fe50631 100644 --- a/src/homogenization.f90 +++ b/src/homogenization.f90 @@ -471,7 +471,7 @@ subroutine homogenization_init flush(6) if (debug_g < 1 .or. debug_g > homogenization_Ngrains(mesh_element(3,debug_e))) & - call IO_error(602_pInt,ext_msg='component (grain)') + call IO_error(602_pInt,ext_msg='component (grain)', el=debug_e, g=debug_g) end subroutine homogenization_init