Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
B
brpc
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
brpc
Commits
3ed8e9cf
Commit
3ed8e9cf
authored
Sep 21, 2017
by
Zhangyi Chen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change some FATAL to ERROR to fix #40
parent
d9213455
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
compress.cpp
src/brpc/compress.cpp
+1
-1
variable.cpp
src/bvar/variable.cpp
+1
-1
No files found.
src/brpc/compress.cpp
View file @
3ed8e9cf
...
...
@@ -49,7 +49,7 @@ int RegisterCompressHandler(CompressType type,
inline
const
CompressHandler
*
FindCompressHandler
(
CompressType
type
)
{
int
index
=
type
;
if
(
index
<
0
||
index
>=
MAX_HANDLER_SIZE
)
{
LOG
(
FATAL
)
<<
"CompressType="
<<
type
<<
" is out of range"
;
LOG
(
ERROR
)
<<
"CompressType="
<<
type
<<
" is out of range"
;
return
NULL
;
}
if
(
NULL
==
s_handler_map
[
index
].
Compress
)
{
...
...
src/bvar/variable.cpp
View file @
3ed8e9cf
...
...
@@ -174,7 +174,7 @@ int Variable::expose_impl(const butil::StringPiece& prefix,
s_bvar_may_abort
=
true
;
}
LOG
(
FATAL
)
<<
"Already exposed `"
<<
_name
<<
"' whose value is `"
LOG
(
ERROR
)
<<
"Already exposed `"
<<
_name
<<
"' whose value is `"
<<
describe_exposed
(
_name
)
<<
'\''
;
_name
.
clear
();
return
-
1
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment