Updating onError function

As _test.cfm file is naturally used for testing we always want the error message to be output instead of the normal click-to-see technical info.