Merge pull request #6886 from MaximKhlobystov/client-logger-on-feedback

Client logger on feedback
This commit is contained in:
Fred Dixon 2019-02-28 19:49:36 -05:00 committed by GitHub
commit 47e52b709c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,7 @@ import getFromUserSettings from '/imports/ui/services/users-settings';
import logoutRouteHandler from '/imports/utils/logoutRouteHandler';
import Rating from './rating/component';
import { styles } from './styles';
import logger from '/imports/startup/client/logger';
const intlMessage = defineMessages({
410: {
@ -121,6 +121,9 @@ class MeetingEnded extends React.PureComponent {
},
};
// client logger
logger.info({ feedback: message, logCode: 'feedback' }, 'Feedback');
fetch(url, options)
.then(() => {
logoutRouteHandler();