Difference between revisions of "GenerateRoyalPages"
Jump to navigation
Jump to search
Line 30: | Line 30: | ||
org.sidif.triple.TripleStore tripleStore | org.sidif.triple.TripleStore tripleStore | ||
} | } | ||
+ | @// handle error | ||
+ | @def handleError(Throwable error) { | ||
+ | <span style='color:red'>Error: @(error.getClass().getName()): @(error.getMessage())</span> | ||
+ | === stacktrace === | ||
+ | <pre> | ||
+ | @getStackTrace(error) | ||
+ | </pre> | ||
@// create the given person | @// create the given person | ||
@def createPerson(Person p) { | @def createPerson(Person p) { | ||
Line 45: | Line 52: | ||
} | } | ||
@if (error) { | @if (error) { | ||
− | + | @handleError(error) | |
} | } | ||
} | } |
Revision as of 08:44, 6 October 2017
Action | |
---|---|
edit | |
name | GenerateRoyalPages |
servicetype | WikiTask |
service | |
inputtype | Page |
input | Royal92#sidif |
actionpage | GenerateRoyalPages#template |
output | Royal92/pages |
engine | rythm |
author | Wf |
since | 2017/10/06 |
comment | Create wiki pages for Royal-Family |
login reset runtemplate -> Royal92/pages