Hi Danielo

At the moment, the philosophy of the various tiddler deserialisers, including 
the one for .tid files, is to ignore errors. Have a look at the code involved:

https://github.com/Jermolene/TiddlyWiki5/blob/master/boot/boot.js#L1222-L1233

If we really wanted to raise errors, then we’d have to take care to catch those 
errors and do something useful with them in each of the situations in which 
deserialisers are used.

Best wishes

Jeremy.



> On 29 Sep 2015, at 23:46, Danielo Rodríguez <[email protected]> wrote:
> 
> Hello,
> 
> I am wondering how the hell does tiddliwiki know that a .tid file is not 
> correctly formatted.
> I have a tiddler, which does not have the correct tiddler format, but if I 
> throw it's contents to the $tw.wiki.deserializeTiddlers function it parses it 
> someway. Why? How can I make sure that the tiddlers imported using the 
> deserializer are correctly formatted?
> 
> Many thanks
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWikiDev" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> To post to this group, send email to [email protected] 
> <mailto:[email protected]>.
> Visit this group at http://groups.google.com/group/tiddlywikidev 
> <http://groups.google.com/group/tiddlywikidev>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywikidev/386933f1-6f5a-4b9c-aa82-f8d66fb280e9%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/tiddlywikidev/386933f1-6f5a-4b9c-aa82-f8d66fb280e9%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/AF804EC4-15E4-42E5-9CD1-D4DC7157196B%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to