See this commit in laltools:
https://github.com/AdaCore/libadalang-tools/commit/68ffb694053abefd74d123dee250450d576a6aa7
If any exception is raised by Is__Available, it is now logged and False is returned.
If any exception is raised by .Refactor, it is now logged and No_Refactoring_Edits is returned.
To enable the logs, add LALTOOLS.REFACTOR=yes to the ALS traces.
This patches:
refactors the ALS part according to the changes in laltools
adds an extra exception handler when executing the refactoring code actions
Improves the failed request message shown to the user
See this commit in laltools: https://github.com/AdaCore/libadalang-tools/commit/68ffb694053abefd74d123dee250450d576a6aa7 If any exception is raised by Is__Available, it is now logged and False is returned.
If any exception is raised by .Refactor, it is now logged and No_Refactoring_Edits is returned.
To enable the logs, add
LALTOOLS.REFACTOR=yes
to the ALS traces.This patches: