Starts in:
2 DAYS
6 HRS
45 MIN
49 SEC
Starts in:
2 D
6 H
45 M
49 S
Open Closed

how to get data of error object from abp.js #4056


User avatar
0
ElifKaya created

Hi,

ABP show a error detail in console and your code is in abp.js file. But I can not get a log detail from another js file. I used abp modal and I throw BusinessException, then I need to requestId in my modal.js file. Can you help about this? Thanks

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.

If you're creating a bug/problem report, please include followings:

ABP Framework version: v5.3.3

UI type: Blazor

DB provider: EF Core

Tiered (MVC) or Identity Server Separated (Angular): yes / no

Exception message and stack trace:

Steps to reproduce the issue:"


2 Answer(s)
  • User Avatar
    0
    ElifKaya created

    Can you give an example please

  • User Avatar
    0
    malik.masis created

    Hi Elif,

    Sorry for the late answer. As far as I understand your issue, it can be a loading script issue in the page not in the modal

    Could you have a look at this documentation, please?

    Especially this side: Then include this file to the page that you use the modal:

    <abp-script src="/Pages/Products/ProductInfoModal.js"/>
    <abp-script src="/Pages/Products/Index.js"/>
    

    Regards

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06