Open tusmester opened 6 years ago
If something goes wrong in the DisplayInformation method in PortalRemoteControl.cs (for example an incorrect format string is used), the whole page becomes inaccessible.
https://github.com/SenseNet/sn-webpages/blob/8619346e48155b4501cf21a3ab7fdfc9b0559868/src/WebPages/UI/Controls/PortalRemoteControl.cs#L346
Make this method more robust by placing try-catch blocks around risky parts.
@herflis Can I work on this? Also please tell me if I need to only wrap risky parts in try-catch block only? Or something else. :)
If something goes wrong in the DisplayInformation method in PortalRemoteControl.cs (for example an incorrect format string is used), the whole page becomes inaccessible.
Source code
https://github.com/SenseNet/sn-webpages/blob/8619346e48155b4501cf21a3ab7fdfc9b0559868/src/WebPages/UI/Controls/PortalRemoteControl.cs#L346
Solution
Make this method more robust by placing try-catch blocks around risky parts.