You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This error recurs in kanzala (production). After selecting the exercise, clicking on preview did not return the error message, I tried again, still the same thing. I open the pm2 log to see what message. What I realize, the application crashes then calls the other process (Luckily, pm2 was started in cluster mode, this is not at all remarkable) But locally the application crashes. I noticed that there was an error with the promise implementation. it retrieves information from the current fiscal year and if previous_fiscal_year_id is null it returns is not found, which is not handled very well with the promise. So I suggest a code refactoring with good promise management. So much so that when there is an error, the application does not crash.
production log image
local image log
The text was updated successfully, but these errors were encountered:
module Finance>Rapport>OHADA compte de résultat
This error recurs in kanzala (production). After selecting the exercise, clicking on preview did not return the error message, I tried again, still the same thing. I open the pm2 log to see what message. What I realize, the application crashes then calls the other process (Luckily, pm2 was started in cluster mode, this is not at all remarkable) But locally the application crashes. I noticed that there was an error with the promise implementation. it retrieves information from the current fiscal year and if previous_fiscal_year_id is null it returns is not found, which is not handled very well with the promise. So I suggest a code refactoring with good promise management. So much so that when there is an error, the application does not crash.
production log image
local image log
![Screen Shot 2024-02-11 at 20 40 43](https://private-user-images.githubusercontent.com/63899331/303943223-8f54dfa9-7e34-4647-b195-1c38e3e7fdca.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA1OTkwODYsIm5iZiI6MTcyMDU5ODc4NiwicGF0aCI6Ii82Mzg5OTMzMS8zMDM5NDMyMjMtOGY1NGRmYTktN2UzNC00NjQ3LWIxOTUtMWMzOGUzZTdmZGNhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzEwVDA4MDYyNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTc0Mzk1MTY5MjljNWQ0NmM0Zjg5OTQ0MzQ2ODVmNTIxMzM5NTVmOGU4ZTEzMzMyNmFjNjVmODQyY2E2OGQzMGImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.I-_TvzPJdOr-oZx-JV6xGGbx4C6q4XU934S9iZuBHh0)
The text was updated successfully, but these errors were encountered: