private void render(StepFinal s) { editorFinalScript._.Select(0, 0); try { editorFinalScript.Text = s.construct(); } catch (Exception ex) { Log.Error("Generation of user script '{0}' is failed: `{1}`", Text, ex.Message); } }
private void render(StepFinal s) { editorFinalScript._.Select(0, 0); try { editorFinalScript.Text = s.construct(); } catch (Exception ex) { Log.Error($"Failed when generating the user script '{Text}': {ex.Message}"); Log.Debug(ex.StackTrace); } }