summaryrefslogtreecommitdiff
path: root/src/main/ScheduleInterface.c
diff options
context:
space:
mode:
authorschnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac>2004-07-31 12:20:37 +0000
committerschnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac>2004-07-31 12:20:37 +0000
commit28e8e94a3ddf1f2aafcc8c53a9f77f6203112e6c (patch)
treeb4b1e24ffda029bd7ca54ddf4662703e1611dea4 /src/main/ScheduleInterface.c
parentd8bb763ff44e68d01db3fa440888770d3684355f (diff)
Output more information when an unknown schedule option is encountered.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3811 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/main/ScheduleInterface.c')
-rw-r--r--src/main/ScheduleInterface.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/main/ScheduleInterface.c b/src/main/ScheduleInterface.c
index e04c8a46..241409d6 100644
--- a/src/main/ScheduleInterface.c
+++ b/src/main/ScheduleInterface.c
@@ -1639,8 +1639,11 @@ static int ParseOption(t_attribute *attribute,
}
else
{
- CCTK_Warn(1,__LINE__,__FILE__,"Cactus",
- "ParseOption: Unknown option for schedule item.\n");
+ CCTK_VWarn(1,__LINE__,__FILE__,"Cactus",
+ "ParseOption: Unknown option \"%s\" for schedule item %s::%s (scheduled at %s)",
+ option,
+ attribute->FunctionData.thorn, attribute->FunctionData.routine,
+ attribute->FunctionData.where);
}
return 0;