• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

microsoft / BotFramework-Composer / 9116370224

16 May 2024 05:08PM UTC coverage: 54.421%. Remained the same
9116370224

push

github

web-flow
fix: Error when loading exported bot (#9587)

* Update c# runtimes to use the .csproj name

* Update yarn-berry.lock files

* Fix hash

---------

Co-authored-by: Joel Mut <joel.mut@southworks.com>
Co-authored-by: Eugene <EOlonov@gmail.com>

7577 of 18339 branches covered (41.32%)

Branch coverage included in aggregate %.

0 of 1 new or added line in 1 file covered. (0.0%)

19745 of 31866 relevant lines covered (61.96%)

26.54 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/Composer/packages/adaptive-form/src/components/ErrorInfo.tsx
1
// Copyright (c) Microsoft Corporation.
2
// Licensed under the MIT License.
3
import React from 'react';
×
4
import formatMessage from 'format-message';
×
5
import { FallbackProps } from 'react-error-boundary';
6
import { MessageBar, MessageBarType } from '@fluentui/react/lib/MessageBar';
×
7

8
const ErrorInfo: React.FC<FallbackProps> = ({ componentStack, error }) => (
9
  <div style={{ marginRight: '20px' }}>
10
    <MessageBar isMultiline={false} messageBarType={MessageBarType.error}>
11
      <p style={{ whiteSpace: 'pre-wrap' }}>
12
        <strong>{formatMessage({ default: 'An error occurred in the form editor!', id: 'ErrorInfo_part1' })}</strong>
13
        <br />
14
        {formatMessage({
15
          default: 'This is likely due to malformed data or missing functionality in Composer.',
16
          id: 'ErrorInfo_part2',
17
        })}
18
        <br />
19
        {formatMessage({ default: 'Try navigating to another node in the visual editor.', id: 'ErrorInfo_part3' })}
20
      </p>
21
      <p>{formatMessage('Here’s what we know…')}</p>
22
      <p style={{ whiteSpace: 'pre-wrap' }}>
23
        <strong>{formatMessage('Error:')}</strong> {error?.toString()}
×
24
      </p>
25
      <p style={{ whiteSpace: 'pre-wrap' }}>
26
        <strong>{formatMessage('Component Stacktrace:')}</strong> {componentStack}
27
      </p>
28
    </MessageBar>
29
  </div>
30
);
31

32
export default ErrorInfo;
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc