TALES of the VALIANT
Page 9 of 9 First ... 789
  1. #81
    Vass_Dts's Avatar
    Join Date
    Feb 2017
    Location
    Greece or Iceland, depending on the time of year.
    Posts
    215
    Quote Originally Posted by houseofdexter View Post
    When an error is thrown, it's next to impossible to tell where it's coming from.
    I dunno if I agree with your thesis. I'm no coder, but 9 times out of 10, I can figure out which extension is throwing the error from the error-message in the console. For instance, if I have an error that says something's wrong with the CT, and I have an extension that alters the CT, chances are, that is the extension that's causing it.

  2. #82
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    34,158
    Error messages include a reference to the base code that raises the error - this will include the ruleset or extension name. My only gripe with the message is that if the path to the ruleset/extension file is long it gets truncated - it would be nice if the whole path (ruleset/extension: path to file) was included in the message and not truncated.
    Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!

  3. #83
    Yeah, I would love that too. Unfortunately, for whatever reason, the Lua script engine limits code block identifiers to 40 characters.

    Regards,
    JPG

Page 9 of 9 First ... 789

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Fantasy Grounds Merchandise

Log in

Log in