Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
DSR
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
3
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
DAR
DSR
Merge requests
!19
imp: better report log message for deposito
Code
Review changes
Check out branch
Download
Patches
Plain diff
Open
imp: better report log message for deposito
imp-better-log-message-for-deposito
into
v2.x
Overview
0
Commits
1
Pipelines
0
Changes
1
Open
simon
requested to merge
imp-better-log-message-for-deposito
into
v2.x
3 years ago
Overview
0
Commits
1
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Compare
v2.x
v2.x (HEAD)
and
latest version
latest version
88f42e04
1 commit,
3 years ago
1 file
+
2
−
1
Expand all files
Preferences
File browser
List view
Tree view
Compare changes
Inline
Side-by-side
Show whitespace changes
Show one file at a time
modules/dsr_deposito/src/EventSubscriber/DSRDepositoEventSubscriber.php
+
2
−
1
Options
@@ -122,10 +122,11 @@ class DSRDepositoEventSubscriber implements EventSubscriberInterface {
}
if
(
!
$share_issue
||
$balance
<
$share_issue
->
getSharePrice
())
{
\Drupal
::
logger
(
'dsr_deposito'
)
->
notice
(
'deposito account @account has insuffucient balance: @balance'
,
\Drupal
::
logger
(
'dsr_deposito'
)
->
notice
(
'deposito account @account has insuffucient balance: @balance
(price @price)
'
,
[
'@account'
=>
$account
->
getName
(),
'@balance'
=>
$account
->
getCreditBalance
(),
'@price'
=>
$share_issue
?
$share_issue
->
getSharePrice
()
:
'unknown'
,
]
);
return
;