From d0f5e6a7ef66c2a4d9f37ac464e36f69687b8132 Mon Sep 17 00:00:00 2001 From: Adam Chlipala Date: Wed, 17 Jul 2013 10:48:31 -0400 Subject: Make that error message even more helpful --- src/effectize.sml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/effectize.sml') diff --git a/src/effectize.sml b/src/effectize.sml index 35de86c3..6ced952b 100644 --- a/src/effectize.sml +++ b/src/effectize.sml @@ -160,8 +160,8 @@ fun effectize file = if Settings.isSafeGet s then () else - ErrorMsg.errorAt loc ("A handler (" ^ s - ^ ") accessible via GET could cause side effects; try accessing it only via forms or removing it from the signature of the main program module"); + ErrorMsg.errorAt loc ("A handler (URI prefix \"" ^ s + ^ "\") accessible via GET could cause side effects; try accessing it only via forms, removing it from the signature of the main program module, or whitelisting it with the 'safeGet' .urp directive"); ((DExport (Link, n, IM.inDomain (pushers, n)), #2 d), evs)) | DExport (Action _, n, _) => ((DExport (Action (if IM.inDomain (writers, n) then -- cgit v1.2.3