<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to customize the log file error message to specific error message in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-customize-the-log-file-error-message-to-specific-error/m-p/1452052#M802330</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;AFAIK it's not possible. But you could create an own logic by using trace to return customized error-messages. This meant using the ErrorMode 0 and querying the ScriptError after each essential load-step. To not cluttering the script too much you could put those logic into a sub-routine similar to this one: &lt;A href="https://community.qlik.com/message/720863"&gt;Re: TRACE - directly enter an expression&lt;/A&gt; which returned the ScriptError and maybe some further results and could also contain an exit script; to break the script on this point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Nov 2017 14:10:22 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2017-11-24T14:10:22Z</dc:date>
    <item>
      <title>How to customize the log file error message to specific error message</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-customize-the-log-file-error-message-to-specific-error/m-p/1452051#M802329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear QV Expert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Today I was looking for a possibility to customize the log file error at the end of the file should be showing the message which we want to show. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2017-11-24 14:12:29&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Error: Cannot open file: 'path'&lt;/P&gt;&lt;P&gt;2017-11-24 14:12:29&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Execution Failed&lt;/P&gt;&lt;P&gt;2017-11-24 14:12:29&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Execution finished.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;instead of this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;2017-11-24 14:12:29&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Error: My Personal Message to appear here...&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;2017-11-24 14:12:29&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Execution Failed&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;2017-11-24 14:12:29&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Execution finished.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Something like updating the &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;ScriptErrorList=' Custom Message'&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Also, we want to fail the QV reload and send the log message accordingly.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;To do so we have Set the ErrorMode =2 which is also not working as intended. Any Idea or help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-customize-the-log-file-error-message-to-specific-error/m-p/1452051#M802329</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to customize the log file error message to specific error message</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-customize-the-log-file-error-message-to-specific-error/m-p/1452052#M802330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;AFAIK it's not possible. But you could create an own logic by using trace to return customized error-messages. This meant using the ErrorMode 0 and querying the ScriptError after each essential load-step. To not cluttering the script too much you could put those logic into a sub-routine similar to this one: &lt;A href="https://community.qlik.com/message/720863"&gt;Re: TRACE - directly enter an expression&lt;/A&gt; which returned the ScriptError and maybe some further results and could also contain an exit script; to break the script on this point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2017 14:10:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-customize-the-log-file-error-message-to-specific-error/m-p/1452052#M802330</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2017-11-24T14:10:22Z</dc:date>
    </item>
  </channel>
</rss>

