File tree Expand file tree Collapse file tree 4 files changed +610
-164
lines changed
Expand file tree Collapse file tree 4 files changed +610
-164
lines changed Original file line number Diff line number Diff line change 4545 - name : Install site dependencies
4646 run : |
4747 cd site && npm ci
48- # Install deps needed for x64
49- npm install @tailwindcss/oxide-linux-x64-gnu
5048
5149 - name : Setup Pages
5250 uses : actions/configure-pages@v4
Original file line number Diff line number Diff line change 11import { RubyCodeExample } from '@/components/ruby-code-example' ;
22import { EditPageLink } from '@/components/edit-page-link' ;
3+ import { CodeBlock } from '@/components/code-block' ;
34
45export default function ConfigurationPage ( ) {
56 return (
@@ -84,6 +85,26 @@ export default function ConfigurationPage() {
8485
8586 < RubyCodeExample name = "error_reporting_handler" />
8687
88+ < h2 className = "text-2xl font-bold mt-10 mb-4" > Sorbet Integration</ h2 >
89+ < p className = "text-neutral-600 dark:text-neutral-400 mb-4" >
90+ LogStruct integrates with Sorbet to handle type checking errors based on
91+ the environment. We raise type errors or logging-related errors in
92+ test/development so you can catch them early, but we only log or report
93+ them in production. You can configure a different error handling mode to
94+ change this behavior.
95+ </ p >
96+
97+ < CodeBlock language = "ruby" >
98+ { `# Enable Sorbet error handling
99+ config.integrations.enable_sorbet_error_handlers = true
100+
101+ # This configures the following error handlers:
102+ # - T::Configuration.inline_type_error_handler
103+ # - T::Configuration.call_validation_error_handler
104+ # - T::Configuration.sig_builder_error_handler
105+ # - T::Configuration.sig_validation_error_handler` }
106+ </ CodeBlock >
107+
87108 < EditPageLink />
88109 </ div >
89110 ) ;
You can’t perform that action at this time.
0 commit comments