Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Disable auto view exception msg app service method execution #1637


User avatar
0
omital created

Hi, How can I disable auto view error dialog message after appService's method call? for now after each app service's method execution, abp automatically handle it and view a message to user, even throw UserFriendlyException or AbpException


3 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Please check this issue <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/issues/1301">https://github.com/aspnetboilerplate/as ... ssues/1301</a>. You need the latest abp packages for this one.

  • User Avatar
    0
    andmattia created

    Related of this issue is it possobile to do that:

    • call service
    • validate logic
    • if OK (return 200 with object or null)
    • if ERROR return (500 with custom messsage)

    the idea is: appService.saveOrUpdate(data).then(function(data){ // OK code } ,function(error){ // Error code });

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Have you seen this issue ? <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/issues/1007">https://github.com/aspnetboilerplate/as ... ssues/1007</a> Does that work for you ?